package com.chagee.store.operation.server.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.*;
import lombok.*;

import java.io.Serializable;

/**
 * @Author : hk
 * @Date : 2024/4/30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ColumnWidth(20) //列宽
@HeadRowHeight(25) //表头行高
@ContentRowHeight(25) //数据行高
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, fillPatternType = FillPatternTypeEnum.DEFAULT, fillForegroundColor = 9)
@HeadFontStyle(fontName = "宋体", fontHeightInPoints = 11, bold = BooleanEnum.FALSE)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment= VerticalAlignmentEnum.CENTER)
public class WorkOrderEvaluateExcelVO implements Serializable {

	private static final long serialVersionUID = 2137272029465619891L;

	/**
	 * 打烊工单编号
	 */
	@ExcelProperty(value = {"${title}","打烊工单编号"})
	private String workOrderNumber;

	/**
	 * 门店编号
	 */
	@ExcelProperty(value = {"${title}","门店编号"})
	private String storeCode;

	/**
	 * 门店名称
	 */
	@ExcelProperty(value = {"${title}","门店名称"})
	private String storeName;

	/**
	 * 单据类型
	 */
	@ExcelProperty(value = {"${title}","单据类型"})
	private String documentType;

	// 单据状态
//	@Excel(name = "单据状态", width = 20,
//		replace = {"待接单_0","待执行_1","执行中_2","待验收_3","已完成_4","已过期_5"})
//	private Integer documentStatus;

	/**
	 * 工单评分
	 */
	@ExcelProperty(value = {"${title}","工单评分"})
	private String documentScore;

	/**
	 * 接单人
	 */
	@ExcelProperty(value = {"${title}","接单人"})
	private String receiver;

	//接单人电话
//	private String receiverMobile;

	// 接单人和接单人电话
//	private String receiverAndReceiverMobile;

	/**
	 * 供应商
	 */
	@ExcelProperty(value = {"${title}","供应商"})
	private String supplier;

	/**
	 * 店铺性质
	 */
	@ExcelProperty(value = {"${title}","店铺性质"})
	private String storeCategory;

	/**
	 * 所属子公司
	 */
	@ExcelProperty(value = {"${title}","所属子公司"})
	private String companyName;

	/**
	 * 加盟商
	 */
	@ExcelProperty(value = {"${title}","加盟商"})
	private String businessName;

	/**
	 * 创建时间
	 */
	@ExcelProperty(value = {"${title}","创建时间"})
	//@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private String createTime;

	/**
	 * 评价项
	 */
	@ExcelProperty(value = {"${title}","评价项"})
	private String evaluate;

	/**
	 * 评价项类型 1 评分  2 单选
	 */
	@ExcelProperty(value = {"${title}","评价项类型"})
	private String evaluateType;

	/**
	 * 评价结果
	 */
	@ExcelProperty(value = {"${title}","评价结果"})
	private String evaluateResult;

	/**
	 * 备注消息
	 */
	@ExcelProperty(value = {"${title}","备注消息"})
	private String remark;

	// 更新时间
//	@Excel(name = "更新时间", width = 20)
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	private Date updateTime;

	//接单时间
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	private Date orderReceivingTime;

	//打烊完成时间
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	private Date closingTime;

	//验收完成时间
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	private Date acceptanceCompletionTime;
}
